import request from "@/servives/index.js"

class clubs {
  static getClubsList = (id) => request.get("/hottopic/querypic",{params:{id}})
static getClubscommit = (id) =>{
  console.log(id,'data')
  return  request.get("/hottopic/queryById", { params: { hottopicId: id } })
}
  //秋日食单
  // static getList = (autumnid) => request.get("/autumnlist/selectautu",})
  static getList = ()=>request.get("autumn/queryautumns")
  //秋日食单详情数{params:{autumnid }
  static dataList = (autumnid) => request.get("/autumnlist/selectautu", {params:{autumnid } })
  //  食材清单
  static getStepList = () => request.get("/step/selectstep")
  // 列表展示/footlist/selectfootlist 
  static getFootList = ()=> request.get("/footlist/selectfootlist")
  // 秋日食单和大咖亲临详情/footdetail
  static getFootDeta=()=> request.get("/footdetail")
  // 爆款清单和百科窍门详情/sharedetail
  static getShared=()=>request.get("/sharedetail")
}

export default clubs